<template>
	<div class="contents">
		<van-nav-bar
		  title="购物单"
		  left-text="返回"
		  left-arrow
		  @click-left="onClickLeft"
		/>
		<div class="content">
			<van-cell is-link to="/payment">
				<template slot="title">
				<span class="custom-text">待付款</span>
				<!-- <van-tag round type="danger"></van-tag> -->
				</template>
			</van-cell>
			<van-cell is-link to="/shipped">
				<template slot="title">
				<span class="custom-text">待发货</span>
				<!-- <van-tag round type="danger"></van-tag> -->
				</template>
			</van-cell>
			<van-cell is-link to="/received">
				<template slot="title">
				<span class="custom-text">待收货</span>
				<!-- <van-tag round type="danger"></van-tag> -->
				</template>
			</van-cell>
			<van-cell is-link to="/evaluated">
				<template slot="title">
				<span class="custom-text">待评价</span>
				<!-- <van-tag round type="danger"></van-tag> -->
				</template>
			</van-cell>
		</div>
	</div>
</template>

<script>
import Headerc from './Headerc'
import Vue from 'vue'
import { Row, Col, Cell, CellGroup, NavBar, Tag } from 'vant'
Vue.use(Row).use(Col).use(Cell).use(CellGroup).use(NavBar).use(Tag);

export default {
	data () {
		return {}
	},
	methods: {
		onClickLeft () {
			this.$router.go(-1)
		}
	},
	components: {
		Headerc
	}
}
</script>

<style lang="scss" scoped="scoped">
@import '@/lib/reset.scss';
</style>
